class CreateDomains < ActiveRecord::Migration
  def self.up
    create_table :domains do |t|
      t.integer :table_id
      t.string :domainName
      t.string :protocol
      t.string :hostName
      t.string :port
      t.string :path
      t.integer :hit

      t.timestamps
    end
  end

  def self.down
    drop_table :domains
  end
end
